package ru.massmo.test;

import com.google.common.base.Strings;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
import ru.massmo.trace.Trace;

@Component
public class StubService {
    private static final Logger LOG = LoggerFactory.getLogger(StubService.class);

    @Trace(traceArgs = true, traceReturnValue = true)
    public String foo(int a, String b, String c) {
        LOG.debug("method body");
        return Strings.repeat(b, 3);
    }
}
